<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登录</title>
		<link href="css/login.css" rel="stylesheet">
	</head>
	<body>
		<div id="loginDiv">
		    <form action="#" method="post" id="form">
		        <h1 id="loginMsg">LOGIN IN</h1>
		        <p>Username:<input id="username" name="username" type="text"></p>
		
		        <p>Password:<input id="password" name="password" type="password"></p>
		
		        <div id="subDiv">
		            <input type="submit" class="button" value="login up" id="login">
		            <input type="reset" class="button" value="reset">&nbsp;&nbsp;&nbsp;
		            <a href="register.html">没有账号？点击注册</a>
		        </div>
		    </form>
		</div>
		
		<script>
			document.getElementById("login").onclick = function(){
				location.href = "index.html"
			}
		</script>
	</body>
</html>
